package com.chen.weather;

public class Receive {
    private String time;
    private class CityInfo{
        private String city;
        private Double cityId;
        private String parent;
        private String time;

        public CityInfo(String city, Double cityId, String parent, String time) {
            this.city = city;
            this.cityId = cityId;
            this.parent = parent;
            this.time = time;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public Double getCityId() {
            return cityId;
        }

        public void setCityId(Double cityId) {
            this.cityId = cityId;
        }

        public String getParent() {
            return parent;
        }

        public void setParent(String parent) {
            this.parent = parent;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }
        
    }
    
    private CityInfo info;
    private String date;
    private Data data;

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public CityInfo getInfo() {
        return info;
    }

    public void setInfo(String city, Double cityId, String parent, String time) {
        this.info = new CityInfo(city, cityId, parent, time);
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }
}
